<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html" charset="utf-8"/>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
    <title>Title</title>
    <style>
        .box-wrapper {
            display: flex;
        }

        .box {
            font-size: 16px;
            border: 1px solid #ccc;
            width: 33%;
            hyphens: auto;
        }
        p{
            -webkit-hyphens: auto;
            -ms-hyphens: auto;
            hyphens: auto;
        }

        .hyphenate {
            text-align: justify;
        }

        .name {

        }

        .content {

        }
    </style>
    <script src="lib/Hyphenator-5.3.0/Hyphenator.js"></script>
    <script>
        //Hyphenator.run();

        function format() {
            let $boxs = $('.box'), len = $boxs.length;
            for (let i = 0; i < len; i++) {
                let $box = $boxs.eq(i);
                let text = $box.text(), textLen = text.length;

                text = text.replaceAll(' ', '');
                let width = $box.innerWidth();
                let font = $box.css("font-size").replace('px', '') / 2;
                let columnMax = Math.floor(width / font) - 1;

                let newText = '';
                for (let j = 0; j < textLen;) {
                    newText += text.substr(j, columnMax) + '-';
                    j += columnMax;
                }
                $box.text(newText);
            }
        }

        //format();
    </script>
</head>
<body>

<div class="box-wrapper hyphenate" lang="en">
    <div class="box">
        aaaaaaaaaaaaaaaaaaaasdfasdasdasdasdasdaaaaaaaaaaaaaaaaaaasdfasdasdasdasdasd
    </div>
    <div class="box "  lang="en">
        <p lang="en">
            People oriented
            Customer first, to provide accurate genetic testing according to customer needs

            Caring for employees
            employees first, create a platform for employees and enhance their personal value

            Integrity and responsibility
            Treat people with integrity and to build up trust and responsible relationships with customers

            Pursuit of excellence
            Continue to research and develop the innovative technology. Improve the quality of service and provide society with excellent products and services.
        </p>
    </div>
    <div class="box">
        aaaaaaaaaaaaaaaaaaaaaaaaaaasdfasdasdasdasdasdaaa
    </div>

</div>
<script src="lib/jquery-3.5.1.js"></script>
</body>
</html>